import request from '@/common/request.js'

const apiQjc = {}
// 用户房间贵宾卡列表
apiQjc.userRoomVipCardList = params => request.globalRequest(`backpack/userRoomVipCardList`, 'GET', params, 1);
// 发送礼物
apiQjc.sendGift = params => request.globalRequest(`gift/send`, 'POST', params, 1);
// 福袋可爆出礼物列表
apiQjc.invalidGifts = params => request.globalRequest(`gift/invalidGifts`, 'GET', params, 1);
// 活动列表
apiQjc.getActivity = params => request.globalRequest(`activity/query`, 'GET', params, 1);
// 获取房间所有麦位序列礼物值
apiQjc.getAllGiftValue = params => request.globalRequest(`room/gift/value/get`, 'GET', params, 1);
// 获取房间指定用户礼物值
apiQjc.getUserGiftValue = params => request.globalRequest(`room/gift/value/mic/get`, 'GET', params, 1);
// 关闭礼物值
apiQjc.closeRoomGift = params => request.globalRequest(`room/gift/value/close`, 'POST', params, 1);
// 打开礼物值
apiQjc.openRoomGift = params => request.globalRequest(`room/gift/value/open`, 'POST', params, 1);
// 背包一键全送
apiQjc.sendBackpackAllIn = params => request.globalRequest(`gift/sendBackpackAllIn`, 'POST', params, 1);
// 获取家族
apiQjc.getFamily = params => request.globalRequest(`family/my`, 'POST', params, 1);

export default apiQjc